body {
	width: var(--totalWid);
	margin: 0 auto;
	background-color: #f3f5f8;
	overflow-x: hidden;
}
.container2 {
	width: 1000px;
	margin: 0 auto;
}

/* <!-- 头部 --> */
header {
	width: 100%;
	height: 66px;
	background-color: rgba(0, 0, 0, 0);
	border-bottom: 1px solid white;
	box-sizing: border-box;
	padding: 0 50px;
	z-index: 30;
	background-color: white;
}
/* logo */
#logo {
	height: 100%;
	/* margin-top: 0px; */
}
#logo > h1 {
	height: 100%;
}
#logo > h1 > a {
	display: inline-block;
	height: 30px;
	width: 195px;
	background: url(../imgs/api-new-logo-white.png) no-repeat;
	font-size: 0;
}
header > div p:last-child {
	font-size: 12px;
	line-height: 66px;
	color: #8e8e8e;
}
header > div p:last-child a {
	font-size: 12px;
	color: #00bdff;
}
/* 主体 */
main {
	margin: 140px auto;
}
section {
	width: 1000px;
	height: 670px;
	background-color: white;
	padding: 50px 290px;
}
#box {
	width: 420px;
	height: 510px;
}
/* 表单 */
form h1 {
	font-size: 36px;
	font-weight: normal;
	margin-bottom: 20px;
}
form h2 {
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 10px;
}
/* 礼物 */
#gift {
	height: 30px;
	width: 100%;
	line-height: 30px;
	font-size: 14px;
	color: white;
	text-align: center;
	background-color: #ed510a;
	border-radius: 3px;
	margin-bottom: 28px;
}
.inp {
	width: 100%;
	height: 40px;
	margin-bottom: 20px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	box-sizing: border-box;
	padding-left: 15px;
	line-height: 38px;
	outline: none;
}
#inp3 {
	width: 295px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
#btn1 {
	width: 135px;
	height: 40px;
	line-height: 40px;
	font-size: 12px;
	background-color: #f3f5f8;
	border: 1px solid #c5c5c5;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

/* 协议 */
#deal {
	font-size: 12px;
	color: #a3a3a3;
}
#deal a {
	font-size: 12px;
	color: #00bdff;
}

/* 提交按钮 */
#btn2 {
	height: 50px;
	width: 100%;
	line-height: 50px;
	background-color: #e0e0e0;
	color: #5f5f5f;
	border: none;
	margin-top: 30px;
}
#box form div p {
	width: 200px;
	top: 0px;
	right: 0px;
	color: red;
	top: 11px;
	left: 458px;
	display: none;
	font-size: 14px;
}
#box form div p .icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url(../imgs/sprite2.png);
	background-position: 0px -128px;
	top: 0px;
	left: -20px;
}
/* 回到顶部按钮 */
#up {
	position: fixed;
	opacity: 0.5;
	bottom: 10px;
	right: 250px;
	width: 40px;
	height: 40px;
	transition: all 1s;
}
#up:hover {
	cursor: pointer;
	transform: rotate(360deg);
}
